package com.euc.springbootframework.schedule;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;

/**
 * Created by WUNE on 5/5/2018.
 */
@Configuration
@EnableScheduling
//@ComponentScan("com.euc.springbootframework.job")
public class SchedulingConfig {

//    @Scheduled(fixedRate = 5000)
//    public void getText(){
//        System.out.println("schedule job running");
//    }
}
